//
//  AXFMineHeadView.m
//  爱鲜蜂-我的
//
//  Created by Joker on 2016/11/19.
//  Copyright © 2016年 new moon. All rights reserved.
//

#import "AXFMineHeadView.h"

@implementation AXFMineHeadView

- (instancetype)init{

    if (self = [super init]) {
        
        self = [[[NSBundle mainBundle]loadNibNamed:@"AXFMineHeadView" owner:nil options:nil] lastObject];
        
    }

    return self;

}

//设置按钮跳转
- (IBAction)settingBtn:(UIButton *)sender {
    
    if ([self.delegate respondsToSelector:@selector(MineHeadView:WithSettingBtn:)]) {
        
        [self.delegate MineHeadView:self WithSettingBtn:sender];
        
    }
    
}
//商品收藏按钮跳转
- (IBAction)goodBtn:(UIButton *)sender {
    
    if ([self.delegate respondsToSelector:@selector(MineHeadView:WithGoodBtn:)]) {
        
        [self.delegate MineHeadView:self WithGoodBtn:sender];
        
    }
}
//店铺收藏按钮跳转
- (IBAction)shopBtn:(UIButton *)sender {
    
    if ([self.delegate respondsToSelector:@selector(MineHeadView:WithShopBtn:)]) {
        
        [self.delegate MineHeadView:self WithShopBtn:sender];
        
    }
}



@end

